package com.example.springbootmybatisplus.sjms;

/**
 * @ClassName SmsGranter
 * @Description: 策略:短信登录
 * @Author: Sunny
 * @Create: 2024-08-18 20:27
 * @Version 1.0
 **/

import com.example.springbootmybatisplus.model.dto.LoginReq;
import com.example.springbootmybatisplus.model.vo.LoginResp;
import org.springframework.stereotype.Component;
@Component
public class SmsGranter implements UserGranter{

    @Override
    public LoginResp login(LoginReq loginReq) {
        System.out.println("登录方式为短信登录" + loginReq);
    // TODO
    // 执行业务操作
        return new LoginResp();
    }
}